import React from 'react';
import ReactDOM from 'react-dom';
// 文字变成中文的语言包
import zhCN from 'antd/lib/locale/zh_CN';
// 日期组件里变成中文的语言包
import 'moment/locale/zh-cn'
// 本地语言配置组件
import { ConfigProvider } from 'antd';

import './index.scss';
import App from './App';
import { Provider } from 'react-redux'
import store from './store'

ReactDOM.render(
  // Provider 必须放在最外层
  <Provider store={store}>
      <ConfigProvider locale={zhCN}>
        <App />
      </ConfigProvider>
  </Provider> ,
  document.getElementById('root')
);

